---------------------------------
-- 技能配置
---------------------------------
local M = {}

M.cfg = {
	[1] = {
		id = 1,
		name = "风元素",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = false, -- 是否为远程
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {anim = "walk", spineAnimName = "walk"}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {}, -- 轨迹
					skill = {anim = "showSkill", spineName = "skill/AirElement_attack_hurt0", spineAnimName = "start"}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		},
	},
	[2] = {
		id = 2,
		name = "拿棍子的大法师",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = true,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {anim = "bulletTrack", spineName = "other/Marksman_attackarrow0", spineAnimName = "start"}, -- 轨迹
					skill = {anim = "showSkill", spineName = "skill/buff_fire0", spineAnimName = "start"}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
			[2] = {
				name = "火焰爆轰",
				isRemote = true,
				buff = {id = 2, value = 4},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {
						anim = "bulletTrack", 
						spineName = "other/Marksman_attackarrow0", 
						spineAnimName = "start"
					}, -- 轨迹
					skill = {
						anim = "showSkill", 
						spineName = "skill/buff_fire0", 
						spineAnimName = "start"
					}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[3] = {
		id = 3,
		name = "",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = false,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {anim = "walk"}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {}, -- 轨迹
					skill = {}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[4] = {
		id = 4,
		name = "",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = false,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {anim = "walk"}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {}, -- 轨迹
					skill = {}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[5] = {
		id = 5,
		name = "",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = true,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {anim = "bulletTrack", spineName = "other/Marksman_attackarrow0", spineAnimName = "start"}, -- 轨迹
					skill = {}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[6] = {
		id = 6,
		name = "",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = false,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {anim = "walk"}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {}, -- 轨迹
					skill = {}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[7] = {
		id = 7,
		name = "风行者",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = true,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {anim = "bulletTrack", spineName = "other/Marksman_attackarrow0", spineAnimName = "start"}, -- 轨迹					
					skill = {anim = "showSkill", spineName = "skill/arrow_hurt0", spineAnimName = "start"}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
	[8] = {
		id = 8,
		name = "冰女",
		skills = {
			[1] = {
				name = "普攻",
				isRemote = true,
				buff = {id = 1, value = 1},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack1"}, -- 攻击动画
					attackAfter = {anim = "walkBack"}, -- 攻击后摇
					bulletTrack = {anim = "bulletTrack", spineName = "other/Marksman_attackarrow0", spineAnimName = "start"}, -- 轨迹					
					skill = {anim = "showSkill", spineName = "skill/arrow_hurt0", spineAnimName = "start"}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
			[2] = {
				name = "治疗",
				isRemote = true,
				buff = {id = 4, value = 0.3},
				effect = {
					beforeRoll = {}, -- 攻击前摇
					attack = {anim = "attack", spineAnimName = "attack"}, -- 施法动画
					attackAfter = {}, -- 攻击后摇
					bulletTrack = {}, -- 轨迹					
					skill = {anim = "showSkill", spineName = "skill/buff_hp_inc0", spineAnimName = "start"}, -- 技能特效
					-- buff = {}, -- 造成的buff效果
				},
			},
		}
	},
}

return M